<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>emp-toolkit: /Users/wangxiao/git/emp-toolkit/emp-sh2pc/semihonest/semihonest_eva.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo-full-doxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">emp-toolkit
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('semihonest__eva_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">semihonest_eva.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="semihonest__eva_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef SEMIHONEST_EVA_H__</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define SEMIHONEST_EVA_H__</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="emp-tool_8h.html">emp-tool/emp-tool.h</a>&gt;</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="emp-ot_8h.html">emp-ot/emp-ot.h</a>&gt;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;</div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="keywordtype">void</span> <a class="code" href="semihonest__eva_8h.html#ad0c78448ceb2c04b97b4d7400ac89cd9">eval_feed</a>(<a class="code" href="class_backend.html">Backend</a>* be, <span class="keywordtype">int</span> <a class="code" href="input-check-malicious_8cpp.html#aefdd5aa9f02e7cb8d21ea22b0e6b03df">party</a>, <a class="code" href="garble_2block_8h.html#a65abbf31b0a30290189cdb5059b5f785">block</a> * label, <span class="keyword">const</span> <span class="keywordtype">bool</span>*, <span class="keywordtype">int</span> length);</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="keywordtype">void</span> <a class="code" href="semihonest__eva_8h.html#a71ec5354a7783a8fdb8a0a3558ec1e3c">eval_reveal</a>(<a class="code" href="class_backend.html">Backend</a>* be, <span class="keywordtype">bool</span>* clear, <span class="keywordtype">int</span> <a class="code" href="input-check-malicious_8cpp.html#aefdd5aa9f02e7cb8d21ea22b0e6b03df">party</a>, <span class="keyword">const</span> <a class="code" href="garble_2block_8h.html#a65abbf31b0a30290189cdb5059b5f785">block</a> * label, <span class="keywordtype">int</span> length);</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="class_semi_honest_eva.html">   13</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_semi_honest_eva.html">SemiHonestEva</a>: <span class="keyword">public</span> <a class="code" href="class_backend.html">Backend</a> { <span class="keyword">public</span>:</div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="class_semi_honest_eva.html#a7348b9719c041334ebb4f8890609f842">   14</a></span>&#160;    <a class="code" href="class_net_i_o.html">NetIO</a>* <a class="code" href="class_semi_honest_eva.html#a7348b9719c041334ebb4f8890609f842">io</a>;</div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="class_semi_honest_eva.html#a64adc13593968e8384a225efd771f46d">   15</a></span>&#160;    <a class="code" href="class_o_t_iterated.html">SHOTIterated</a>* <a class="code" href="class_semi_honest_eva.html#a64adc13593968e8384a225efd771f46d">ot</a>;</div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="class_semi_honest_eva.html#af7af2d8ece4a50bcf96d2e65275c2378">   16</a></span>&#160;    <a class="code" href="class_half_gate_eva.html">HalfGateEva&lt;T&gt;</a> * <a class="code" href="class_semi_honest_eva.html#af7af2d8ece4a50bcf96d2e65275c2378">gc</a>;</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="class_semi_honest_eva.html#a7fc4d74798f15ccbf7ade5061f2fb740">   17</a></span>&#160;    <a class="code" href="class_semi_honest_eva.html#a7fc4d74798f15ccbf7ade5061f2fb740">SemiHonestEva</a>(<a class="code" href="class_net_i_o.html">NetIO</a>*io, <a class="code" href="class_half_gate_eva.html">HalfGateEva&lt;T&gt;</a> * gc): <a class="code" href="class_backend.html">Backend</a>(<a class="code" href="utils_8h.html#a8a752943cc4f3c7be1ba2c7edc1b61f8">BOB</a>) {</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;        this-&gt;io = <a class="code" href="class_semi_honest_eva.html#a7348b9719c041334ebb4f8890609f842">io</a>;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;        ot = <span class="keyword">new</span> <a class="code" href="group___o_t.html#gab125e533d88ec5cc8c2a2537112f36ba">SHOTIterated</a>(io, <span class="keyword">false</span>);</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;        this-&gt;gc = <a class="code" href="class_semi_honest_eva.html#af7af2d8ece4a50bcf96d2e65275c2378">gc</a>;  </div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;        <a class="code" href="class_backend.html#aae71d4edb4470a4593c98073c506244c">Feed_internal</a> = eval_feed&lt;T&gt;;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;        <a class="code" href="class_backend.html#a0c4383b3a03d604bae7dcf05efc66f74">Reveal_internal</a> = eval_reveal&lt;T&gt;;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    }</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="class_semi_honest_eva.html#aa5cdb2cbd5d0d8d997848e85f61a469a">   24</a></span>&#160;    <a class="code" href="class_semi_honest_eva.html#aa5cdb2cbd5d0d8d997848e85f61a469a">~SemiHonestEva</a>() {</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;        <span class="keyword">delete</span> <a class="code" href="class_semi_honest_eva.html#a64adc13593968e8384a225efd771f46d">ot</a>;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;    }</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;};</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="semihonest__eva_8h.html#ad0c78448ceb2c04b97b4d7400ac89cd9">   31</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="semihonest__eva_8h.html#ad0c78448ceb2c04b97b4d7400ac89cd9">eval_feed</a>(<a class="code" href="class_backend.html">Backend</a>* be, <span class="keywordtype">int</span> <a class="code" href="input-check-malicious_8cpp.html#aefdd5aa9f02e7cb8d21ea22b0e6b03df">party</a>, <a class="code" href="garble_2block_8h.html#a65abbf31b0a30290189cdb5059b5f785">block</a> * label, <span class="keyword">const</span> <span class="keywordtype">bool</span>* b, <span class="keywordtype">int</span> length) {</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    <a class="code" href="class_semi_honest_eva.html">SemiHonestEva&lt;T&gt;</a> * backend = (<a class="code" href="class_semi_honest_eva.html">SemiHonestEva&lt;T&gt;</a>*)(be);</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    <span class="keywordflow">if</span>(party == <a class="code" href="utils_8h.html#a856092a6a37aac1b54145ea9e3e03364">ALICE</a>) {</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;        backend-&gt;<a class="code" href="class_semi_honest_eva.html#a7348b9719c041334ebb4f8890609f842">io</a>-&gt;<a class="code" href="class_i_o_channel.html#a590745a2e3eadaaa64dac6c76604d010">recv_block</a>(label, length);</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;        backend-&gt;<a class="code" href="class_semi_honest_eva.html#a64adc13593968e8384a225efd771f46d">ot</a>-&gt;<a class="code" href="class_o_t_iterated.html#a5b769b2f334b3311d0aa356752ddf8bc">recv_cot</a>(label, b, length);</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    }</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;}</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="semihonest__eva_8h.html#a71ec5354a7783a8fdb8a0a3558ec1e3c">   41</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="semihonest__eva_8h.html#a71ec5354a7783a8fdb8a0a3558ec1e3c">eval_reveal</a>(<a class="code" href="class_backend.html">Backend</a>* be, <span class="keywordtype">bool</span> * b, <span class="keywordtype">int</span> <a class="code" href="input-check-malicious_8cpp.html#aefdd5aa9f02e7cb8d21ea22b0e6b03df">party</a>, <span class="keyword">const</span> <a class="code" href="garble_2block_8h.html#a65abbf31b0a30290189cdb5059b5f785">block</a> * label, <span class="keywordtype">int</span> length) {</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <a class="code" href="class_semi_honest_eva.html">SemiHonestEva&lt;T&gt;</a> * backend = (<a class="code" href="class_semi_honest_eva.html">SemiHonestEva&lt;T&gt;</a>*)(be);</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <a class="code" href="garble_2block_8h.html#a65abbf31b0a30290189cdb5059b5f785">block</a> tmp;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; length; ++i) {</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;        <span class="keywordflow">if</span>(<a class="code" href="utils_2block_8h.html#a01d7fb04c12a2a0e2e30c31e0c61d44d">isOne</a>(&amp;label[i]))</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;            b[i] = <span class="keyword">true</span>;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="utils_2block_8h.html#a5d6a5bd7b77a4610c6158487adbe5ba4">isZero</a>(&amp;label[i]))</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;            b[i] = <span class="keyword">false</span>;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;        <span class="keywordflow">else</span> {</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;            <span class="keywordflow">if</span> (party == <a class="code" href="utils_8h.html#a8a752943cc4f3c7be1ba2c7edc1b61f8">BOB</a> or party == <a class="code" href="utils_8h.html#ad17d551e31d1828c68acf40684849b7e">PUBLIC</a>) {</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;                backend-&gt;<a class="code" href="class_semi_honest_eva.html#a7348b9719c041334ebb4f8890609f842">io</a>-&gt;<a class="code" href="class_i_o_channel.html#a590745a2e3eadaaa64dac6c76604d010">recv_block</a>(&amp;tmp, 1);</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;                b[i] = !(<a class="code" href="utils_2block_8h.html#a5b8d454a7188407c793ba335cc6d38d9">block_cmp</a>(&amp;tmp, &amp;label[i], 1));</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;            } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (party == <a class="code" href="utils_8h.html#a856092a6a37aac1b54145ea9e3e03364">ALICE</a>) {</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;                backend-&gt;<a class="code" href="class_semi_honest_eva.html#a7348b9719c041334ebb4f8890609f842">io</a>-&gt;<a class="code" href="class_i_o_channel.html#a41614ba924161dfafdced9f2d2201823">send_block</a>(&amp;label[i], 1);</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;                b[i] = <span class="keyword">false</span>;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;            }</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        }</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    }</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="keywordflow">if</span>(party == <a class="code" href="utils_8h.html#ad17d551e31d1828c68acf40684849b7e">PUBLIC</a>)</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;        backend-&gt;<a class="code" href="class_semi_honest_eva.html#a7348b9719c041334ebb4f8890609f842">io</a>-&gt;<a class="code" href="class_i_o_channel.html#ac896441a0a757bc1170d7544483f6f3a">send_data</a>(b, length);</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;}</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="preprocessor">#endif// GARBLE_CIRCUIT_SEMIHONEST_H__</span></div><div class="ttc" id="class_i_o_channel_html_ac896441a0a757bc1170d7544483f6f3a"><div class="ttname"><a href="class_i_o_channel.html#ac896441a0a757bc1170d7544483f6f3a">IOChannel::send_data</a></div><div class="ttdeci">void send_data(const void *data, int nbyte)</div><div class="ttdef"><b>Definition:</b> io_channel.h:14</div></div>
<div class="ttc" id="class_semi_honest_eva_html_a7348b9719c041334ebb4f8890609f842"><div class="ttname"><a href="class_semi_honest_eva.html#a7348b9719c041334ebb4f8890609f842">SemiHonestEva::io</a></div><div class="ttdeci">NetIO * io</div><div class="ttdef"><b>Definition:</b> semihonest_eva.h:14</div></div>
<div class="ttc" id="garble_2block_8h_html_a65abbf31b0a30290189cdb5059b5f785"><div class="ttname"><a href="garble_2block_8h.html#a65abbf31b0a30290189cdb5059b5f785">block</a></div><div class="ttdeci">__m128i block</div><div class="ttdef"><b>Definition:</b> block.h:8</div></div>
<div class="ttc" id="utils_2block_8h_html_a5d6a5bd7b77a4610c6158487adbe5ba4"><div class="ttname"><a href="utils_2block_8h.html#a5d6a5bd7b77a4610c6158487adbe5ba4">isZero</a></div><div class="ttdeci">bool isZero(const block *b)</div><div class="ttdef"><b>Definition:</b> block.h:71</div></div>
<div class="ttc" id="utils_8h_html_a8a752943cc4f3c7be1ba2c7edc1b61f8"><div class="ttname"><a href="utils_8h.html#a8a752943cc4f3c7be1ba2c7edc1b61f8">BOB</a></div><div class="ttdeci">#define BOB</div><div class="ttdef"><b>Definition:</b> utils.h:16</div></div>
<div class="ttc" id="class_semi_honest_eva_html_aa5cdb2cbd5d0d8d997848e85f61a469a"><div class="ttname"><a href="class_semi_honest_eva.html#aa5cdb2cbd5d0d8d997848e85f61a469a">SemiHonestEva::~SemiHonestEva</a></div><div class="ttdeci">~SemiHonestEva()</div><div class="ttdef"><b>Definition:</b> semihonest_eva.h:24</div></div>
<div class="ttc" id="class_net_i_o_html"><div class="ttname"><a href="class_net_i_o.html">NetIO</a></div><div class="ttdef"><b>Definition:</b> net_io_channel.h:22</div></div>
<div class="ttc" id="utils_2block_8h_html_a01d7fb04c12a2a0e2e30c31e0c61d44d"><div class="ttname"><a href="utils_2block_8h.html#a01d7fb04c12a2a0e2e30c31e0c61d44d">isOne</a></div><div class="ttdeci">bool isOne(const block *b)</div><div class="ttdef"><b>Definition:</b> block.h:75</div></div>
<div class="ttc" id="utils_8h_html_ad17d551e31d1828c68acf40684849b7e"><div class="ttname"><a href="utils_8h.html#ad17d551e31d1828c68acf40684849b7e">PUBLIC</a></div><div class="ttdeci">#define PUBLIC</div><div class="ttdef"><b>Definition:</b> utils.h:14</div></div>
<div class="ttc" id="emp-ot_8h_html"><div class="ttname"><a href="emp-ot_8h.html">emp-ot.h</a></div></div>
<div class="ttc" id="group___o_t_html_gab125e533d88ec5cc8c2a2537112f36ba"><div class="ttname"><a href="group___o_t.html#gab125e533d88ec5cc8c2a2537112f36ba">SHOTIterated</a></div><div class="ttdeci">OTIterated&lt; SHOTExtension &gt; SHOTIterated</div><div class="ttdef"><b>Definition:</b> iterated.h:96</div></div>
<div class="ttc" id="class_semi_honest_eva_html_a7fc4d74798f15ccbf7ade5061f2fb740"><div class="ttname"><a href="class_semi_honest_eva.html#a7fc4d74798f15ccbf7ade5061f2fb740">SemiHonestEva::SemiHonestEva</a></div><div class="ttdeci">SemiHonestEva(NetIO *io, HalfGateEva&lt; T &gt; *gc)</div><div class="ttdef"><b>Definition:</b> semihonest_eva.h:17</div></div>
<div class="ttc" id="class_semi_honest_eva_html_af7af2d8ece4a50bcf96d2e65275c2378"><div class="ttname"><a href="class_semi_honest_eva.html#af7af2d8ece4a50bcf96d2e65275c2378">SemiHonestEva::gc</a></div><div class="ttdeci">HalfGateEva&lt; T &gt; * gc</div><div class="ttdef"><b>Definition:</b> semihonest_eva.h:16</div></div>
<div class="ttc" id="semihonest__eva_8h_html_a71ec5354a7783a8fdb8a0a3558ec1e3c"><div class="ttname"><a href="semihonest__eva_8h.html#a71ec5354a7783a8fdb8a0a3558ec1e3c">eval_reveal</a></div><div class="ttdeci">void eval_reveal(Backend *be, bool *clear, int party, const block *label, int length)</div><div class="ttdef"><b>Definition:</b> semihonest_eva.h:41</div></div>
<div class="ttc" id="semihonest__eva_8h_html_ad0c78448ceb2c04b97b4d7400ac89cd9"><div class="ttname"><a href="semihonest__eva_8h.html#ad0c78448ceb2c04b97b4d7400ac89cd9">eval_feed</a></div><div class="ttdeci">void eval_feed(Backend *be, int party, block *label, const bool *, int length)</div><div class="ttdef"><b>Definition:</b> semihonest_eva.h:31</div></div>
<div class="ttc" id="class_backend_html_a0c4383b3a03d604bae7dcf05efc66f74"><div class="ttname"><a href="class_backend.html#a0c4383b3a03d604bae7dcf05efc66f74">Backend::Reveal_internal</a></div><div class="ttdeci">void(* Reveal_internal)(Backend *be, bool *, int, const block *label, int length)</div><div class="ttdef"><b>Definition:</b> backend.h:11</div></div>
<div class="ttc" id="class_backend_html"><div class="ttname"><a href="class_backend.html">Backend</a></div><div class="ttdef"><b>Definition:</b> backend.h:8</div></div>
<div class="ttc" id="utils_8h_html_a856092a6a37aac1b54145ea9e3e03364"><div class="ttname"><a href="utils_8h.html#a856092a6a37aac1b54145ea9e3e03364">ALICE</a></div><div class="ttdeci">#define ALICE</div><div class="ttdef"><b>Definition:</b> utils.h:15</div></div>
<div class="ttc" id="class_backend_html_aae71d4edb4470a4593c98073c506244c"><div class="ttname"><a href="class_backend.html#aae71d4edb4470a4593c98073c506244c">Backend::Feed_internal</a></div><div class="ttdeci">void(* Feed_internal)(Backend *be, int, block *label, const bool *, int length)</div><div class="ttdef"><b>Definition:</b> backend.h:10</div></div>
<div class="ttc" id="class_semi_honest_eva_html_a64adc13593968e8384a225efd771f46d"><div class="ttname"><a href="class_semi_honest_eva.html#a64adc13593968e8384a225efd771f46d">SemiHonestEva::ot</a></div><div class="ttdeci">SHOTIterated * ot</div><div class="ttdef"><b>Definition:</b> semihonest_eva.h:15</div></div>
<div class="ttc" id="utils_2block_8h_html_a5b8d454a7188407c793ba335cc6d38d9"><div class="ttname"><a href="utils_2block_8h.html#a5b8d454a7188407c793ba335cc6d38d9">block_cmp</a></div><div class="ttdeci">bool block_cmp(const block *x, const block *y, int nblocks)</div><div class="ttdef"><b>Definition:</b> block.h:56</div></div>
<div class="ttc" id="class_half_gate_eva_html"><div class="ttname"><a href="class_half_gate_eva.html">HalfGateEva&lt; T &gt;</a></div></div>
<div class="ttc" id="class_i_o_channel_html_a41614ba924161dfafdced9f2d2201823"><div class="ttname"><a href="class_i_o_channel.html#a41614ba924161dfafdced9f2d2201823">IOChannel::send_block</a></div><div class="ttdeci">void send_block(const block *data, int nblock)</div><div class="ttdef"><b>Definition:</b> io_channel.h:132</div></div>
<div class="ttc" id="class_i_o_channel_html_a590745a2e3eadaaa64dac6c76604d010"><div class="ttname"><a href="class_i_o_channel.html#a590745a2e3eadaaa64dac6c76604d010">IOChannel::recv_block</a></div><div class="ttdeci">void recv_block(block *data, int nblock)</div><div class="ttdef"><b>Definition:</b> io_channel.h:136</div></div>
<div class="ttc" id="input-check-malicious_8cpp_html_aefdd5aa9f02e7cb8d21ea22b0e6b03df"><div class="ttname"><a href="input-check-malicious_8cpp.html#aefdd5aa9f02e7cb8d21ea22b0e6b03df">party</a></div><div class="ttdeci">int party</div><div class="ttdef"><b>Definition:</b> input-check-malicious.cpp:12</div></div>
<div class="ttc" id="class_semi_honest_eva_html"><div class="ttname"><a href="class_semi_honest_eva.html">SemiHonestEva</a></div><div class="ttdef"><b>Definition:</b> semihonest_eva.h:13</div></div>
<div class="ttc" id="emp-tool_8h_html"><div class="ttname"><a href="emp-tool_8h.html">emp-tool.h</a></div></div>
<div class="ttc" id="class_o_t_iterated_html"><div class="ttname"><a href="class_o_t_iterated.html">OTIterated</a></div><div class="ttdef"><b>Definition:</b> iterated.h:9</div></div>
<div class="ttc" id="class_o_t_iterated_html_a5b769b2f334b3311d0aa356752ddf8bc"><div class="ttname"><a href="class_o_t_iterated.html#a5b769b2f334b3311d0aa356752ddf8bc">OTIterated::recv_cot</a></div><div class="ttdeci">void recv_cot(block *data, const bool *b, int length)</div><div class="ttdef"><b>Definition:</b> iterated.h:74</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_7d8bbc02619eafc860aeda6313f25492.html">emp-sh2pc</a></li><li class="navelem"><a class="el" href="dir_4f0f6c1a91f08f4506362197300ee52f.html">semihonest</a></li><li class="navelem"><a class="el" href="semihonest__eva_8h.html">semihonest_eva.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.12 </li>
  </ul>
</div>
</body>
</html>
